﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RDPCommon.Client
{
    [System.Serializable]
    public class ClinetInfo
    {
        string m_SessionID;
        string m_UserCode;
        string m_UserName;
        string m_Case;
        string m_DB;
        string m_LoginDateTime;
        string m_LastActive;
        string m_DeviceName;
        string m_DeviceIP;
        string m_DeviceMac;

        public ClinetInfo(
            string SessionID,
            string UserCode,
            string UserName,
            string Case,
            string DB,
            string LoginDateTime,
            string LastActive,
            string DeviceName,
            string DeviceIP,
            string DeviceMac
            )
        {
            this.m_SessionID = SessionID;
            this.m_UserCode=UserCode;
            this.m_UserName=UserName;
            this.m_Case=Case;
            this.m_DB=DB;
            this.m_LoginDateTime=LoginDateTime;
            this.m_LastActive = LastActive;
            this.m_DeviceName=DeviceName;
            this.m_DeviceIP=DeviceIP;
            this.m_DeviceMac = DeviceMac;
        }

        public string SessionID
        {
            get { return m_SessionID; }
            set { m_SessionID=value; }
        }

        public string UserCode
        {
            get { return m_UserCode; }
            set { m_UserCode = value; }
        }

        public string UserName
        {
            get { return m_UserName; }
            set { m_UserName = value; }
        }

        public string Case
        {
            get { return m_Case; }
            set { m_Case = value; }
        }

        public string DB
        {
            get { return m_DB; }
            set { m_DB = value; }
        }

        public string LoginDateTime
        {
            get { return m_LoginDateTime; }
            set { m_LoginDateTime = value; }
        }

        public string LastActive
        {
            get { return m_LastActive; }
            set { m_LastActive = value; }
        }

        public string DeviceName
        {
            get { return m_DeviceName; }
            set { m_DeviceName = value; }
        }

        public string DeviceIP
        {
            get { return m_DeviceIP; }
            set { m_DeviceIP = value; }
        }

        public string DeviceMac
        {
            get { return m_DeviceMac; }
            set { m_DeviceMac = value; }
        }
    }
}
